<?php
/**
 * (crontab) 星级排名
 */
namespace App\Crontab\Daily;

use App\Logic\Operation\CrawlReviews as LCrawlReviews;
use App\Jobs\Operation\CrawlReviews as JCrawlReviews;
class Crawl
{
    /**
     * 1每天运行30 20 * * *
     * 抓取星级，大小类排名
     */
    public static function initStar()
    {
        $country = array_keys(LCrawlReviews::$_baseUrl);
        foreach ($country as $_country){
            JCrawlReviews::dispatch($_country);
            $re[$_country] = true;
        }
    }
}
